package com.java.base.exercise.jvm;

import java.io.IOException;

/**
 * @Author RenPu
 * @Date 2022/2/27 10:18
 * @Version 1.0
 * @Description:
 **/
public class Main {
    public static void main(String[] args) throws IOException {

        System.out.println("hello world .............");
        System.out.println(System.getProperties());

        int read = System.in.read();

        System.out.println(read);



        SomeThing.INSTANCE.getInstance();
    }


   static class Resource{
    }

    public enum SomeThing {
        INSTANCE;
        private Resource instance;
        SomeThing() {
            instance = new Resource();
        }
        public Resource getInstance() {
            return instance;
        }
    }



}
